Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.picture.actions--filters

This contribution is part of XML component org.nuxeo.ecm.platform.picture.actions inside nuxeo-platform-imaging-jsf-9.10.jar /OSGI-INF/actions-contrib.xml

Extension Point

Extension point filters of component ActionService.

Contributed Items

  • <filter id="grantpicturebook">
          <rule grant="true">
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter id="grantpicture">
          <rule grant="true">
            <type>Picture</type>
          </rule>
        </filter>
  • <filter append="true" id="create">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter append="true" id="importFile">
          <rule grant="true">
            <permission>AddChildren</permission>
            <type>PictureBook</type>
          </rule>
        </filter>
  • <filter id="contentViewShowSlideshow">
          <rule grant="true">
            <condition>
              #{nxu:test(empty showSlideshow,
              contentView.currentResultLayout.showSlideshow,
              showSlideshow)}
            </condition>
          </rule>
        </filter>
  • <filter id="canRecomputePictureViews">
          <rule grant="true">
            <permission>Write</permission>
          </rule>
        </filter>

XML Source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="grantpicturebook">
      <rule grant="true">
        <type>PictureBook</type>
      </rule>
    </filter>

    <!-- not used since 5.5, keep it for compatibility -->
    <filter id="grantpicture">
      <rule grant="true">
        <type>Picture</type>
      </rule>
    </filter>

    <filter append="true" id="create">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>PictureBook</type>
      </rule>
    </filter>

    <filter append="true" id="importFile">
      <rule grant="true">
        <permission>AddChildren</permission>
        <type>PictureBook</type>
      </rule>
    </filter>

    <filter id="contentViewShowSlideshow">
      <rule grant="true">
        <condition>
          #{nxu:test(empty showSlideshow,
          contentView.currentResultLayout.showSlideshow,
          showSlideshow)}
        </condition>
      </rule>
    </filter>

    <filter id="canRecomputePictureViews">
      <rule grant="true">
        <permission>Write</permission>
      </rule>
    </filter>

  </extension>